package com.ibuildmap;

import java.io.Serializable;

/**
 * Created by youkai on 2017/5/25.
 */
public class DataEntity implements Serializable {
    private int sysNo;
    private int parentSysNo;
    private String areaCode;
    private String areaName;
    private int areaType;
    /**
     * latitude
     */
    private double locationY;
    /**
     * longitude
     */
    private double locationX;
    private int projectCount;

    private String projectCode;
    private String projectName;
    private int projectLevel;

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public int getAreaType() {
        return areaType;
    }

    public void setAreaType(int areaType) {
        this.areaType = areaType;
    }

    /**
     * latitude
     *
     * @return
     */
    public double getLocationY() {
        return locationY;
    }

    public void setLocationY(double locationY) {
        this.locationY = locationY;
    }

    /**
     * longitude
     *
     * @return
     */
    public double getLocationX() {
        return locationX;
    }

    public void setLocationX(double locationX) {
        this.locationX = locationX;
    }

    public int getProjectCount() {
        return projectCount;
    }

    public void setProjectCount(int projectCount) {
        this.projectCount = projectCount;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    /**
     * 0-一般项目;1-重点项目
     *
     * @return
     */
    public int getProjectLevel() {
        return projectLevel;
    }

    public void setProjectLevel(int projectLevel) {
        this.projectLevel = projectLevel;
    }

    public boolean isProject() {
        return this.getProjectCode() != null;
    }

    public int getSysNo() {
        return sysNo;
    }

    public void setSysNo(int sysNo) {
        this.sysNo = sysNo;
    }

    public int getParentSysNo() {
        return parentSysNo;
    }

    public void setParentSysNo(int parentSysNo) {
        this.parentSysNo = parentSysNo;
    }
}
